package com.sinothk.hussars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sinothk.hussars.base.BaseEntity;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 检查记录表
 * </p>
 *
 * @author liangyt
 * @since 2021-01-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tab_record")
@ApiModel(value="RecordEntity对象", description="检查记录表")
public class RecordEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private String id;

    @ApiModelProperty(value = "检查记录Id")
    private String recordId;

    @ApiModelProperty(value = "创建人Id")
    private String creatorId;

    @ApiModelProperty(value = "状态 0已登记 1申请作废 2已作废 3已核收 4已拒收 5已报告")
    private Integer state;

    @ApiModelProperty(value = "登记时间")
    private Date createDate;

    @ApiModelProperty(value = "核收时间")
    private Date receiveDate;

    @ApiModelProperty(value = "报告时间")
    private Date reportDate;

    @ApiModelProperty(value = "危险程度 0正常 1危险")
    private Integer level;

    @ApiModelProperty(value = "是否作废 0正常 1作废")
    private Integer invalid;

    @ApiModelProperty(value = "检查人ID")
    private String checkerId;

    @ApiModelProperty(value = "受检人ID")
    private String checkeeId;


}
